﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lesk;

namespace Infinity.ExpressionParser.Tokens.Operators.Quantifier
{
	public class QuantifierToken : OperatorToken
	{
		public QuantifierToken()
		{
			BracketDirection = Tokens.BracketDirection.Right;
		}

		public virtual string VariableName
		{
			get
			{
				var str = Value.Split(new[] { " ", "\t" }, StringSplitOptions.RemoveEmptyEntries)[1];
				return str;
			}
		}
	}
}
